// 课程
export const useLoadAdminNoteListApi = (body) => {
    return useHttpPost(`/v1/adminnote/list`,{body})
}
// 修改
export const useUpdateAdminNoteManyApi = (body) => {
    return useHttpPost(`/v1/adminnote/update/statusmany`,{body})
}
// 修改
export const useUpdateAdminNoteApi = (body) => {
    return useHttpPost(`/v1/adminnote/update/status`,{body})
}

// 查看兑换码
export const useLoadAdminNoteCodeApi = (body) => {
    return useHttpPost(`/v1/adminnote/code/list`,{body})
}

// 保存修改兑换码
export const useSaveUpdateAdminNoteCodeApi = (body) => {
    return useHttpPost(`/v1/adminnote/code/saveupdate`,{body})
}

// 批量兑换
export const useBatchAdminNoteApi = (body) => {
    return useHttpPost(`/v1/adminnote/batch/users`,{body})
}

// 修改状态
export const useUpdateAdminNoteCodeApi = (body) => {
    return useHttpPost(`/v1/adminnote/code/update/status`,{body})
}

// 删除
export const useDelAdminNoteApi = (id) => {
    return useHttpPost(`/v1/adminnote/del/${id}`,{})
}

// 删除
export const useDelAdminNoteCodeApi = (id) => {
    return useHttpPost(`/v1/adminnote/code/del/${id}`,{})
}

// 课程分类
export const useLoadAdminNoteCategoryListApi = (body) => {
    return useHttpPost(`/v1/adminnote/category/list`,{body})
}
// 修改
export const useUpdateAdminNoteCategoryApi = (body) => {
    return useHttpPost(`/v1/adminnote/category/update/status`,{body})
}

// 删除
export const useDelAdminNoteCategoryApi = (id) => {
    return useHttpPost(`/v1/adminnote/category/del/${id}`,{})
}

// 保存修改
export const useSaveUpdateAdminNoteCategoryApi = (body) => {
    return useHttpPost(`/v1/adminnote/category/saveupdate`,{body})
}

// 复制
export const useCopyAdminNoteApi = (id) => {
    return useHttpPost(`/v1/adminnote/copy/${id}`,{})
}

// 复制
export const useCopyAdminNoteCategoryApi = (id) => {
    return useHttpPost(`/v1/adminnote/category/copy/${id}`,{})
}
